Blackfin: bf518f-ezbrd: reset ethernet PHY during init
authorGraf Yang <[email protected]>
Tue, 5 May 2009 06:26:27 +0000 (02:26 -0400)
committerMike Frysinger <[email protected]>
Wed, 6 May 2009 12:47:37 +0000 (08:47 -0400)
commitf8ddcd58221cab63dd25c2324dd2032487f748b1
tree42b5f335ae89377472898a53533a80ae642964cc
parent53310b88eaa27fb5cb83144d0b22389190ad87a1
Blackfin: bf518f-ezbrd: reset ethernet PHY during init

We don't know what state the ethernet PHY is in when starting up, so make
sure we set it to a sane state.  This fixes troubles seen when Linux boots
up, configures the PHY is a non-default state, and then the system reboots
into U-Boot which previously expected a reset state only.

Signed-off-by: Graf Yang <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
board/bf518f-ezbrd/bf518f-ezbrd.c